<template>
  <div>
    <NuxtPage />
  </div>
</template>
<script setup>
// useSeoMeta({
//   title: "Pinkstar - Real Video Chat Online with New Friends",
//   description:
//     "Discover Pinkstar, the ultimate real-time video chatting platform . Enjoy live video calls for free, and connect with new people through random video chat like never before!",
//   keyword:
//     "live video chat, random video chat, 1v1 video call, live video call free, online video chat platform, real video chat, random chat online",
// });
onMounted(() => {
  window.dataLayer = window.dataLayer || [];
  function gtag() {
    dataLayer.push(arguments);
  }
  gtag("js", new Date());
  gtag("config", "G-097R6751JM");

  //
  // window.addEventListener("resize", handleResize);
  // handleResize(); // Initial check on mount
});
const router = useRouter();
const route = useRoute();

// const handleResize = () => {
//   if (window.innerWidth < 768) {
//     router.push("/m");
//   } else {
//     router.push(route.path == "/m" ? "/" : route.path);
//   }
// };
const config = useRuntimeConfig();
console.log(config?.public?.clientEnv.jump_url, "config");
useState("jump_url", () => config?.public?.clientEnv.jump_url);
</script>
<style lang="scss"></style>
